﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tanmia.Basis.ViewInterface;
using Microsoft.Practices.Prism.Regions;

namespace SaryaAccounting.UserSelection
{
    public class LoginUserSelectorService : IUserSelector
    {
        private readonly IRegionManager regionManager;

        public LoginUserSelectorService(IRegionManager regionManager)
        {
            this.regionManager = regionManager;
        }
        #region IUserSelector Members

        public Tanmia.Basis.ApplicationUserInfo SelectUser()
        {
            regionManager.RequestNavigate("WindowRegion", "LoginView");
        }

        #endregion
    }
}
